﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity
{
    /// <summary>
    /// Invoice_Info
    /// </summary>
    [Table("Invoice_Info")]
    public class Invoice_Info
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }
        /// <summary>
        /// CreatorId
        /// </summary>
        public String Userid { get; set; }
        /// <summary>
        /// CreatorId
        /// </summary>
        public String Goodsid { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 抬头
        /// </summary>
        public Int32? Rise_Type { get; set; }

        /// <summary>
        /// 发票类型
        /// </summary>
        public Int32? Invoice_Type { get; set; }

        /// <summary>
        /// 单位地址
        /// </summary>
        public String Unit_Address { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public String Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public String Emails { get; set; }

        /// <summary>
        /// 银行账户
        /// </summary>
        public String Accont { get; set; }

        /// <summary>
        /// 单位手机
        /// </summary>
        public String Unit_Phone { get; set; }

        /// <summary>
        /// 备用
        /// </summary>
        public String DATA0 { get; set; }

        /// <summary>
        /// 备用
        /// </summary>OrderId
        public String DATA1
        {
            get; set;
        }

        /// <summary>
        /// OrderId
        /// </summary>OrderId
        public String OrderId { get; set; }

        /// <summary>
        /// OrderId
        /// </summary>OrderId
        public String Address { get; set; }

        /// <summary>
        /// isPay
        /// </summary>OrderId
        public int? isPay { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public String UnitName { get; set; }


        /// <summary>
        /// 单位税号
        /// </summary>
        public String UnitTax { get; set; }

        /// <summary>
        /// 人员名称
        /// </summary>
        public String PerName { get; set; }

        /// <summary>
        /// isPay
        /// </summary>OrderId
        public Boolean? isOpen { get; set; }

        /// <summary>
        /// 状态 0 待发，1是发了
        /// </summary>OrderId
        public int state
        {
            get; set;
        }
    }
}